package com.link.base.base.user.model;

import com.link.core.basic.model.BasicModel;

/**
 * @author unknown
 * @date unknown
 * @comments 登录日志
 */
public class LoginLog extends BasicModel {
    /**ip地址*/
    private String ipAddress;
    /**用户浏览器*/
    private String userAgent;
    /**用户ID*/
    private Long userId;
    /**登录名字*/
    private String loginName;
    /**登录时间*/
    private String loginTime;
    /**会话Id*/
    private Long sessionId;
    /**portal，Pad标志，用来区分是portal登录，还是pad登录*/
    private String userSource;
    /**锁定标识.登陆失败用*/
    private Character lockFlag;
    /**
     * 姓名，名称
     */
    private String firstName;
    /**
     * 登录成功获取的的token
     */
    private String accessToken;

    /**
     * 登录类型
     */
    private String loginType;

    @Override
    public String getLoginType() {
        return loginType;
    }

    @Override
    public void setLoginType(String loginType) {
        this.loginType = loginType;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public String getUserAgent() {
        return userAgent;
    }

    public void setUserAgent(String userAgent) {
        this.userAgent = userAgent;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(String loginTime) {
        this.loginTime = loginTime;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getSessionId() {
        return sessionId;
    }

    public void setSessionId(Long sessionId) {
        this.sessionId = sessionId;
    }

    public String getUserSource() {
        return userSource;
    }

    public void setUserSource(String userSource) {
        this.userSource = userSource;
    }

    public Character getLockFlag() {
        return lockFlag;
    }

    public void setLockFlag(Character lockFlag) {
        this.lockFlag = lockFlag;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }
}
